package com.kgcx.system.domain;

import com.kgcx.dbutils.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "t_sys_oa_log")
@ApiModel(value = "oa操作记录日志")
public class OaLog extends BaseDomain {

    /**
     * id
     */
    @ApiModelProperty(value = "userId", required = false, example = "1")
    private Long userId;

    /**
     * 帐号
     */
    @ApiModelProperty(value = "account", required = true, example = "1")
    private String account;

    /**
     * 接口
     */
    @ApiModelProperty(value = "接口", required = true, example = "updateDriver")
    private String interfaceName;


    /**
     * 请求报文
     */
    @ApiModelProperty(value = "请求报文", required = true, example = "")
    private String request;

    /**
     * 返回报文
     */
    @ApiModelProperty(value = "返回报文", required = true, example = "")
    private String response;

}